package com.compty.paint.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 预存款日志
 * 
 * @author compty<br/>
 *         2010-4-14上午09:41:36<br/>
 *         version 1.0
 */
@Entity
@Table(name = "t_advancelogs")
public class AdvanceLogs implements java.io.Serializable {

	private static final long serialVersionUID = -6242996021792540360L;
	
	private int log_id;
	private Long member_id;
	private Double money;
	private String message;
	private Date mtime;
	private Long payment_id;
	private Integer order_id;
	private String paymethod;
	private String memo;
	private Double import_money;
	private Double explode_money;
	private Double member_advance;
	private Double shop_advance;
	private String disabled = "false";//enum('true','false') NOT NULL DEFAULT 'false'
	
	@Id
	@GeneratedValue
	@Column(name = "id", unique = true, nullable = false)
	public int getLog_id() {
		return log_id;
	}
	public void setLog_id(int logId) {
		log_id = logId;
	}
	
	@Column(name = "member_id")
	public Long getMember_id() {
		return member_id;
	}
	public void setMember_id(Long memberId) {
		member_id = memberId;
	}
	
	@Column(name = "money")
	public Double getMoney() {
		return money;
	}
	public void setMoney(Double money) {
		this.money = money;
	}
	
	@Column(name = "message",length = 200)
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	
	@Column(name = "mtime")
	public Date getMtime() {
		return mtime;
	}
	public void setMtime(Date mtime) {
		this.mtime = mtime;
	}
	
	@Column(name = "payment_id")
	public Long getPayment_id() {
		return payment_id;
	}
	public void setPayment_id(Long paymentId) {
		payment_id = paymentId;
	}
	
	@Column(name = "order_id")
	public Integer getOrder_id() {
		return order_id;
	}
	public void setOrder_id(Integer orderId) {
		order_id = orderId;
	}
	
	@Column(name = "paymethod",length = 50)
	public String getPaymethod() {
		return paymethod;
	}
	public void setPaymethod(String paymethod) {
		this.paymethod = paymethod;
	}
	
	@Column(name = "memo",length = 200)
	public String getMemo() {
		return memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}
	
	@Column(name = "import_money")
	public Double getImport_money() {
		return import_money;
	}
	public void setImport_money(Double importMoney) {
		import_money = importMoney;
	}
	
	@Column(name = "explode_money")
	public Double getExplode_money() {
		return explode_money;
	}
	public void setExplode_money(Double explodeMoney) {
		explode_money = explodeMoney;
	}
	
	@Column(name = "member_advance")
	public Double getMember_advance() {
		return member_advance;
	}
	public void setMember_advance(Double memberAdvance) {
		member_advance = memberAdvance;
	}
	
	@Column(name = "shop_advance")
	public Double getShop_advance() {
		return shop_advance;
	}
	public void setShop_advance(Double shopAdvance) {
		shop_advance = shopAdvance;
	}
	
	@Column(name = "disabled",length = 50)
	public String getDisabled() {
		return disabled;
	}
	public void setDisabled(String disabled) {
		this.disabled = disabled;
	}
	
}

